﻿using System.IO;
using System.Text;

namespace Higgs.Web.AtomPub
{
    public class StringWriterWithEncoding : StringWriter
    {
        public StringWriterWithEncoding(Encoding encoding)
        {
            _encoding = encoding;
        }

        private readonly Encoding _encoding;
        public override Encoding Encoding
        {
            get { return _encoding; }
        }
    }
}
